home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Games Machine 75
/
XENIATGM75.iso
/
Shareware
/
X-Setup 5.0
/
_SETUP.1
/
XQ WinNT AutoLogin Enable.xpl
< prev
next >
Wrap
Text File
|
1999-06-13
|
1KB
|
53 lines
"FILE"="Xteq Systems X-Setup Plugin 5.0"
"TYPE"="6"
"COUNT"="1"
"UIPATH"="Network\Login\Auto Login"
"NAME"="General"
"VERSION"="1.72"
"LANGUAGE"="VBScript"
"TEXT 1"="Enable auto login"
"DESCRIPTION 1"="Auto login can be used to eliminate the "Press Ctrl+Alt+Del to login" screen."
"DESCRIPTION 2"="Enable auto login ONLY if you have set the correct values before with the "Settings" plug-in."
"AUTHOR"="Xteq Systems"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@xteq.com."
sRP="HKLM\Software\Microsoft\Windows NT\CurrentVersion\WinLogon\"
Sub Plugin_Initialize
if RegPathExists(sRP) then
i=RegReadValue(srp&"AutoAdminLogon")
if i=1 then
SetUIElement 1,true
end if
else
Disable
end if
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
b=GetUIElement(1)
if b=true then
call RegWriteValue(srp&"AutoAdminLogon","1",1)
else
s=RegReadValue(srp&"AutoAdminLogon")
if IsNull(s)=false and Len(s)>0 then
Call RegDeleteValue(srp&"AutoAdminLogon")
end if
end if
Logoff
End Sub
Sub Plugin_Terminate
End Sub